﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;

namespace AutomationResearch
{
    /// <summary>
    /// The class that holds onto each element returned by the configuration manager.
    /// </summary>
    public class AutoBotConfigElement : ConfigurationElement
    {

        [ConfigurationProperty("duration", DefaultValue = "1", IsKey = true, IsRequired = true)]
        public string Duration
        {
            get
            {
                return ((string)(base["duration"]));
            }
            set
            {
                base["duration"] = value;
            }
        }        
    }
}
